<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
        <head>
          <title>akka.routing.ScatterGatherFirstCompletedRouter</title>
          <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
          
      <link type="text/css" media="screen" rel="stylesheet" href="../../lib/template.css" />
      <script type="text/javascript" src="../../lib/jquery.js"></script>
      <script type="text/javascript" src="../../lib/jquery-ui.js"></script>
      <script type="text/javascript" src="../../lib/template.js"></script>
      <script type="text/javascript" src="../../lib/tools.tooltip.js"></script>
    
        </head>
        <body class="type">
      <div id="definition">
        <a title="Go to companion" href="ScatterGatherFirstCompletedRouter$.html"><img src="../../lib/class_to_object_big.png" /></a>
        <p id="owner"><a name="akka" class="extype" href="../package.html">akka</a>.<a name="akka.routing" class="extype" href="package.html">routing</a></p>
        <h1><a title="Go to companion" href="ScatterGatherFirstCompletedRouter$.html">ScatterGatherFirstCompletedRouter</a></h1>
      </div>

      <h4 class="signature" id="signature">
      <span class="kind">case class</span>
      <span class="symbol">
        <span class="name">ScatterGatherFirstCompletedRouter</span>
        
        <span class="params">(<span name="nrOfInstances">nrOfInstances: <span name="scala.Int" class="extype">Int</span></span>, <span name="routees">routees: Iterable[String]</span>, <span name="within">within: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>, <span name="resizer">resizer: <span name="scala.Option" class="extype">Option</span>[<a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a>]</span>, <span name="routerDispatcher">routerDispatcher: String</span>, <span name="supervisorStrategy">supervisorStrategy: <a name="akka.actor.SupervisorStrategy" class="extype" href="../actor/SupervisorStrategy.html">SupervisorStrategy</a></span>)</span><span class="result"> extends <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a> with <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span>
      </span>
      </h4>
      
          <div class="fullcommenttop" id="comment"><div class="comment cmt"><p>Simple router that broadcasts the message to all routees, and replies with the first response.
<br/>
You have to defin the 'within: Duration' parameter (f.e: within = 10 seconds).
<br/>
Please note that providing both 'nrOfInstances' and 'routees' does not make logical sense as this means
that the router should both create new actors and use the 'routees' actor(s).
In this case the 'nrOfInstances' will be ignored and the 'routees' will be used.
<br/>
<b>The</b> configuration parameter trumps the constructor arguments. This means that
if you provide either 'nrOfInstances' or 'routees' during instantiation they will
be ignored if the router is defined in the configuration file for the actor being used.</p><h3> Supervision Setup </h3><p>The router creates a “head” actor which supervises and/or monitors the
routees. Instances are created as children of this actor, hence the
children are not supervised by the parent of the router. Common choices are
to always escalate (meaning that fault handling is always applied to all
children simultaneously; this is the default) or use the parent’s strategy,
which will result in routed children being treated individually, but it is
possible as well to use Routers to give different supervisor strategies to
different groups of children.</p><pre>
class MyActor extends Actor {
  override val supervisorStrategy = ...

  val poolAsAWhole = context.actorOf(Props[SomeActor].withRouter(RoundRobinRouter(5)))

  val poolIndividuals = context.actorOf(Props[SomeActor].withRouter(
    RoundRobinRouter(5, supervisorStrategy = this.supervisorStrategy)))

  val specialChild = context.actorOf(Props[SomeActor].withRouter(
    RoundRobinRouter(5, supervisorStrategy = OneForOneStrategy() {
      ...
    })))
}
</pre></div><dl class="paramcmts block"><dt class="param">routees</dt><dd class="cmt"><p>string representation of the actor paths of the routees that will be looked up
  using <code>actorFor</code> in <a name="akka.actor.ActorRefProvider" class="extype" href="../actor/ActorRefProvider.html">ActorRefProvider</a>
</p></dd></dl><div class="toggleContainer block">
          <span class="toggle">Linear Supertypes</span>
          <div class="superTypes hiddenContent"><span name="scala.Serializable" class="extype">Serializable</span>, <span name="java.io.Serializable" class="extype">Serializable</span>, <span name="scala.Product" class="extype">Product</span>, <span name="scala.Equals" class="extype">Equals</span>, <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a>, <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a>, AnyRef, <span name="scala.Any" class="extype">Any</span></div>
        </div></div>
        

      <div id="template">

        <div id="mbrsel">
          <div id="textfilter"><span class="pre"></span><span class="input"><input accesskey="/" type="text" /></span><span class="post"></span></div>
          <div id="order">
                <span class="filtertype">Ordering</span>
                <ol><li class="alpha in"><span>Alphabetic</span></li><li class="inherit out"><span>By inheritance</span></li></ol>
              </div>
          <div id="ancestors">
                <span class="filtertype">Inherited</span>
                <ol><li class="hideall out"><span>Hide All</span></li>
                <li class="showall in"><span>Show all</span></li></ol>
                <ol id="linearization"><li name="akka.routing.ScatterGatherFirstCompletedRouter" class="in"><span>ScatterGatherFirstCompletedRouter</span></li><li name="scala.Serializable" class="in"><span>Serializable</span></li><li name="java.io.Serializable" class="in"><span>Serializable</span></li><li name="scala.Product" class="in"><span>Product</span></li><li name="scala.Equals" class="in"><span>Equals</span></li><li name="akka.routing.ScatterGatherFirstCompletedLike" class="in"><span>ScatterGatherFirstCompletedLike</span></li><li name="akka.routing.RouterConfig" class="in"><span>RouterConfig</span></li><li name="scala.AnyRef" class="in"><span>AnyRef</span></li><li name="scala.Any" class="in"><span>Any</span></li></ol>
              </div>
          <div id="visbl">
              <span class="filtertype">Visibility</span>
              <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
            </div>
        </div>

        <div class="members" id="constructors">
              <h3>Instance Constructors</h3>
              <ol><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#this" data-isabs="false">
      <a id="this:ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">new</span>
      <span class="symbol">
        <span class="name">ScatterGatherFirstCompletedRouter</span>
        
        <span class="params">(<span name="resizer">resizer: <a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a></span>, <span name="w">w: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>)</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Constructor that sets the resizer to be used.</p><div class="fullcomment"><div class="comment cmt"><p>Constructor that sets the resizer to be used.
Java API
</p></div></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#this" data-isabs="false">
      <a id="this:ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">new</span>
      <span class="symbol">
        <span class="name">ScatterGatherFirstCompletedRouter</span>
        
        <span class="params">(<span name="routeePaths">routeePaths: <span name="java.lang.Iterable" class="extype">Iterable</span>[String]</span>, <span name="w">w: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>)</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Constructor that sets the routees to be used.</p><div class="fullcomment"><div class="comment cmt"><p>Constructor that sets the routees to be used.
Java API</p></div><dl class="paramcmts block"><dt class="param">routeePaths</dt><dd class="cmt"><p>string representation of the actor paths of the routees that will be looked up
  using <code>actorFor</code> in <a name="akka.actor.ActorRefProvider" class="extype" href="../actor/ActorRefProvider.html">ActorRefProvider</a>
</p></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#this" data-isabs="false">
      <a id="this:ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">new</span>
      <span class="symbol">
        <span class="name">ScatterGatherFirstCompletedRouter</span>
        
        <span class="params">(<span name="nr">nr: <span name="scala.Int" class="extype">Int</span></span>, <span name="w">w: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>)</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Constructor that sets nrOfInstances to be created.</p><div class="fullcomment"><div class="comment cmt"><p>Constructor that sets nrOfInstances to be created.
Java API
</p></div></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#this" data-isabs="false">
      <a id="this:ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">new</span>
      <span class="symbol">
        <span class="name">ScatterGatherFirstCompletedRouter</span>
        
        <span class="params">(<span name="nrOfInstances">nrOfInstances: <span name="scala.Int" class="extype">Int</span></span>, <span name="routees">routees: Iterable[String]</span>, <span name="within">within: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>, <span name="resizer">resizer: <span name="scala.Option" class="extype">Option</span>[<a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a>]</span>, <span name="routerDispatcher">routerDispatcher: String</span>, <span name="supervisorStrategy">supervisorStrategy: <a name="akka.actor.SupervisorStrategy" class="extype" href="../actor/SupervisorStrategy.html">SupervisorStrategy</a></span>)</span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt class="param">routees</dt><dd class="cmt"><p>string representation of the actor paths of the routees that will be looked up
  using <code>actorFor</code> in <a name="akka.actor.ActorRefProvider" class="extype" href="../actor/ActorRefProvider.html">ActorRefProvider</a>
</p></dd></dl></div>
    </li></ol>
            </div>

        

        

        <div class="values members" id="values">
              <h3>Value Members</h3>
              <ol><li visbl="pub" name="scala.AnyRef#!=" data-isabs="false">
      <a id="!=(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">!=</span>
        
        <span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="scala.Any#!=" data-isabs="false">
      <a id="!=(Any):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">!=</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Any" class="extype">Any</span></span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef###" data-isabs="false">
      <a id="##():Int"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">##</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Int" class="extype">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#==" data-isabs="false">
      <a id="==(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">==</span>
        
        <span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="scala.Any#==" data-isabs="false">
      <a id="==(Any):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">==</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Any" class="extype">Any</span></span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li visbl="pub" name="scala.Any#asInstanceOf" data-isabs="false">
      <a id="asInstanceOf[T0]:T0"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">asInstanceOf</span>
        <span class="tparams">[<span name="T0">T0</span>]</span>
        <span class="result">: T0</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#canEqual" data-isabs="false">
      <a id="canEqual(Any):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">canEqual</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Any" class="extype">Any</span></span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → Equals</dd></dl></div>
    </li><li visbl="prt" name="scala.AnyRef#clone" data-isabs="false">
      <a id="clone():AnyRef"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">clone</span>
        
        <span class="params">()</span><span class="result">: AnyRef</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a name="java.lang" class="extype" href="../../java/lang/package.html">lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">()</span>
              
        </dd></dl></div>
    </li><li visbl="pub" name="akka.routing.RouterConfig#createActor" data-isabs="false">
      <a id="createActor():Router"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">createActor</span>
        
        <span class="params">()</span><span class="result">: <a name="akka.routing.Router" class="extype" href="Router.html">Router</a></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedLike#createRoute" data-isabs="false">
      <a id="createRoute(Props,RouteeProvider):Route"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">createRoute</span>
        
        <span class="params">(<span name="props">props: <a name="akka.actor.Props" class="extype" href="../actor/Props.html">Props</a></span>, <span name="routeeProvider">routeeProvider: <a name="akka.routing.RouteeProvider" class="extype" href="RouteeProvider.html">RouteeProvider</a></span>)</span><span class="result">: Route</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.RouterConfig#createRouteeProvider" data-isabs="false">
      <a id="createRouteeProvider(ActorContext):RouteeProvider"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">createRouteeProvider</span>
        
        <span class="params">(<span name="context">context: <a name="akka.actor.ActorContext" class="extype" href="../actor/ActorContext.html">ActorContext</a></span>)</span><span class="result">: <a name="akka.routing.RouteeProvider" class="extype" href="RouteeProvider.html">RouteeProvider</a></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#eq" data-isabs="false">
      <a id="eq(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">eq</span>
        
        <span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#equals" data-isabs="false">
      <a id="equals(Any):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">equals</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Any" class="extype">Any</span></span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → Equals → AnyRef → Any</dd></dl></div>
    </li><li visbl="prt" name="scala.AnyRef#finalize" data-isabs="false">
      <a id="finalize():Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">finalize</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a name="java.lang" class="extype" href="../../java/lang/package.html">lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">()</span>
              
        </dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#getClass" data-isabs="false">
      <a id="getClass():java.lang.Class[_]"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">getClass</span>
        
        <span class="params">()</span><span class="result">: java.lang.Class[_]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#hashCode" data-isabs="false">
      <a id="hashCode():Int"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">hashCode</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Int" class="extype">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → AnyRef → Any</dd></dl></div>
    </li><li visbl="pub" name="scala.Any#isInstanceOf" data-isabs="false">
      <a id="isInstanceOf[T0]:Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">isInstanceOf</span>
        <span class="tparams">[<span name="T0">T0</span>]</span>
        <span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#ne" data-isabs="false">
      <a id="ne(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">ne</span>
        
        <span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span name="scala.Boolean" class="extype">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#notify" data-isabs="false">
      <a id="notify():Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">notify</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#notifyAll" data-isabs="false">
      <a id="notifyAll():Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">notifyAll</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#nrOfInstances" data-isabs="false">
      <a id="nrOfInstances:Int"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">nrOfInstances</span>
        
        <span class="result">: <span name="scala.Int" class="extype">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#productArity" data-isabs="false">
      <a id="productArity:Int"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">productArity</span>
        
        <span class="result">: <span name="scala.Int" class="extype">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → Product</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#productElement" data-isabs="false">
      <a id="productElement(Int):Any"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">productElement</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Int" class="extype">Int</span></span>)</span><span class="result">: <span name="scala.Any" class="extype">Any</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → Product</dd></dl></div>
    </li><li visbl="pub" name="scala.Product#productIterator" data-isabs="false">
      <a id="productIterator:Iterator[Any]"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">productIterator</span>
        
        <span class="result">: Iterator[<span name="scala.Any" class="extype">Any</span>]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Product</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#productPrefix" data-isabs="false">
      <a id="productPrefix:String"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">productPrefix</span>
        
        <span class="result">: <span name="java.lang.String" class="extype">String</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → Product</dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#resizer" data-isabs="false">
      <a id="resizer:Option[Resizer]"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">resizer</span>
        
        <span class="result">: <span name="scala.Option" class="extype">Option</span>[<a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a>]</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Routers with dynamically resizable number of routees return the <a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a>
to use.</p><div class="fullcomment"><div class="comment cmt"><p>Routers with dynamically resizable number of routees return the <a name="akka.routing.Resizer" class="extype" href="Resizer.html">Resizer</a>
to use.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#routees" data-isabs="false">
      <a id="routees:Iterable[String]"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">routees</span>
        
        <span class="result">: Iterable[String]</span>
      </span>
      </h4>
      <p class="shortcomment cmt">string representation of the actor paths of the routees that will be looked up
  using <code>actorFor</code> in <a name="akka.actor.ActorRefProvider" class="extype" href="../actor/ActorRefProvider.html">ActorRefProvider</a>
</p><div class="fullcomment"><div class="comment cmt"><p>string representation of the actor paths of the routees that will be looked up
  using <code>actorFor</code> in <a name="akka.actor.ActorRefProvider" class="extype" href="../actor/ActorRefProvider.html">ActorRefProvider</a>
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#routerDispatcher" data-isabs="false">
      <a id="routerDispatcher:String"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">routerDispatcher</span>
        
        <span class="result">: String</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Dispatcher ID to use for running the “head” actor, i.</p><div class="fullcomment"><div class="comment cmt"><p>Dispatcher ID to use for running the “head” actor, i.e. the <a name="akka.routing.Router" class="extype" href="Router.html">Router</a>.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#supervisorStrategy" data-isabs="false">
      <a id="supervisorStrategy:SupervisorStrategy"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">supervisorStrategy</span>
        
        <span class="result">: <a name="akka.actor.SupervisorStrategy" class="extype" href="../actor/SupervisorStrategy.html">SupervisorStrategy</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">SupervisorStrategy for the created Router actor.</p><div class="fullcomment"><div class="comment cmt"><p>SupervisorStrategy for the created Router actor.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#synchronized" data-isabs="false">
      <a id="synchronized[T0](⇒ T0):T0"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">synchronized</span>
        <span class="tparams">[<span name="T0">T0</span>]</span>
        <span class="params">(<span name="arg0">arg0: ⇒ T0</span>)</span><span class="result">: T0</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li visbl="prt" name="akka.routing.RouterConfig#toAll" data-isabs="false">
      <a id="toAll(ActorRef,Iterable[ActorRef]):Iterable[Destination]"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">toAll</span>
        
        <span class="params">(<span name="sender">sender: <a name="akka.actor.ActorRef" class="extype" href="../actor/ActorRef.html">ActorRef</a></span>, <span name="routees">routees: Iterable[<a name="akka.actor.ActorRef" class="extype" href="../actor/ActorRef.html">ActorRef</a>]</span>)</span><span class="result">: Iterable[<a name="akka.routing.Destination" class="extype" href="Destination.html">Destination</a>]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#toString" data-isabs="false">
      <a id="toString():String"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">toString</span>
        
        <span class="params">()</span><span class="result">: String</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → AnyRef → Any</dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#wait" data-isabs="false">
      <a id="wait():Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">wait</span>
        
        <span class="params">()</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">()</span>
              
        </dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#wait" data-isabs="false">
      <a id="wait(Long,Int):Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">wait</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Long" class="extype">Long</span></span>, <span name="arg1">arg1: <span name="scala.Int" class="extype">Int</span></span>)</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">()</span>
              
        </dd></dl></div>
    </li><li visbl="pub" name="scala.AnyRef#wait" data-isabs="false">
      <a id="wait(Long):Unit"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">wait</span>
        
        <span class="params">(<span name="arg0">arg0: <span name="scala.Long" class="extype">Long</span></span>)</span><span class="result">: <span name="scala.Unit" class="extype">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>final </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">()</span>
              
        </dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#withDispatcher" data-isabs="false">
      <a id="withDispatcher(String):ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">withDispatcher</span>
        
        <span class="params">(<span name="dispatcherId">dispatcherId: String</span>)</span><span class="result">: <a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Java API for setting routerDispatcher
</p>
    </li><li visbl="pub" name="akka.routing.RouterConfig#withFallback" data-isabs="false">
      <a id="withFallback(RouterConfig):RouterConfig"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">withFallback</span>
        
        <span class="params">(<span name="other">other: <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></span>)</span><span class="result">: <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Overridable merge strategy, by default completely prefers “this” (i.</p><div class="fullcomment"><div class="comment cmt"><p>Overridable merge strategy, by default completely prefers “this” (i.e. no merge).
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></dd></dl></div>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#withSupervisorStrategy" data-isabs="false">
      <a id="withSupervisorStrategy(SupervisorStrategy):ScatterGatherFirstCompletedRouter"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name">withSupervisorStrategy</span>
        
        <span class="params">(<span name="strategy">strategy: <a name="akka.actor.SupervisorStrategy" class="extype" href="../actor/SupervisorStrategy.html">SupervisorStrategy</a></span>)</span><span class="result">: <a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Java API for setting the supervisor strategy to be used for the “head”
Router actor.</p>
    </li><li visbl="pub" name="akka.routing.ScatterGatherFirstCompletedRouter#within" data-isabs="false">
      <a id="within:Duration"></a>
      <h4 class="signature">
      <span class="kind">val</span>
      <span class="symbol">
        <span class="name">within</span>
        
        <span class="result">: <a name="akka.util.Duration" class="extype" href="../util/Duration.html">Duration</a></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a name="akka.routing.ScatterGatherFirstCompletedRouter" class="extype" href="">ScatterGatherFirstCompletedRouter</a> → <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a></dd></dl></div>
    </li></ol>
            </div>

        <div class="values members" id="values">
              <h3>Deprecated Value Members</h3>
              <ol><li visbl="pub" name="scala.Product#productElements" data-isabs="false">
      <a id="productElements:Iterator[Any]"></a>
      <h4 class="signature">
      <span class="kind">def</span>
      <span class="symbol">
        <span class="name deprecated">productElements</span>
        
        <span class="result">: Iterator[<span name="scala.Any" class="extype">Any</span>]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Product</dd><dt>Annotations</dt><dd>
                <span class="name">@deprecated</span>
              
        </dd><dt>Deprecated</dt><dd class="cmt"><p>use productIterator instead</p></dd></dl></div>
    </li></ol>
            </div>

        <div name="scala.Serializable" class="parent">
              <h3>Inherited from <span name="scala.Serializable" class="extype">Serializable</span></h3>
            </div><div name="java.io.Serializable" class="parent">
              <h3>Inherited from <span name="java.io.Serializable" class="extype">Serializable</span></h3>
            </div><div name="scala.Product" class="parent">
              <h3>Inherited from <span name="scala.Product" class="extype">Product</span></h3>
            </div><div name="scala.Equals" class="parent">
              <h3>Inherited from <span name="scala.Equals" class="extype">Equals</span></h3>
            </div><div name="akka.routing.ScatterGatherFirstCompletedLike" class="parent">
              <h3>Inherited from <a name="akka.routing.ScatterGatherFirstCompletedLike" class="extype" href="ScatterGatherFirstCompletedLike.html">ScatterGatherFirstCompletedLike</a></h3>
            </div><div name="akka.routing.RouterConfig" class="parent">
              <h3>Inherited from <a name="akka.routing.RouterConfig" class="extype" href="RouterConfig.html">RouterConfig</a></h3>
            </div><div name="scala.AnyRef" class="parent">
              <h3>Inherited from AnyRef</h3>
            </div><div name="scala.Any" class="parent">
              <h3>Inherited from <span name="scala.Any" class="extype">Any</span></h3>
            </div>

      </div>

      <div id="tooltip"></div>

    </body>
      </html>